package com.bjpowernode.crm.workbench.service;

import com.bjpowernode.crm.commons.Activities;
import com.bjpowernode.crm.workbench.domain.Activity;
import com.bjpowernode.crm.workbench.domain.ActivityRemark;

import java.util.List;
import java.util.Map;

/**
 * ClassName: ActivityService<br/>
 * Package: com.bjpowernode.crm.workbench.service<br/>
 * Description: <br/>
 * Date: 2022/7/6 14:48<br/>
 * Auther:对的我写的，错的我同事写的<br/>
 */
public interface ActivityService {
    Activities<Activity> queryActivities(Map requestMap);

    Integer addActivities(Activity activity);

    Activity queryActivityById(String id);

    Integer updateActivityModal(Activity activity);

    Integer deleteActivityBtn(String[] ids);

    List<Activity> selectActivities();

    Integer addActivitiesByList(List<Activity> activityList);

    List<Activity> selectActivities(String[] ids);

    Activity queryById(String id);

    List<ActivityRemark> selectActivityRemark(String activityId);

    Integer insertbeizhu(ActivityRemark remark);

    Integer updateactivityRemark(ActivityRemark remark);

    Integer deleteActivityRemarkById(String id);
}
